package cn.waqwb.bwcar.service;

import cn.waqwb.bwcar.dto.DataGridResult;
import cn.waqwb.bwcar.dto.QueryDTO;
import cn.waqwb.bwcar.pojo.ProductWithBLOBs;

/**
 * @author JokerQ
 * @date 2019/12/2 - 15:49
 */
public interface ProductCarService {
    public int addProduct(ProductWithBLOBs productWithBLOBs);

    public int delProduct(Integer id);

    public int updateProduct(ProductWithBLOBs productWithBLOBs);

    public ProductWithBLOBs findByID(Integer id);

    public DataGridResult findByPage(QueryDTO queryDTO);
}
